<?php include "common/page_frame/header.html";?>
<?php include "common/page_frame/leftbar.html";?>
<script type="text/javascript">document.title="提示";</script>
<style type="text/css">
    .errorWrap{ padding:60px; background:#fff}
    .errorWrap .title{ color:#e12424}
    .errorWrap.success .title{ color:#3eba40}
    .errorWrap.warm .title{ color:#f37138}
    .errorWrap .title .iconfont{ font-size:22px; margin-right:4px;}
    .errorWrap .title .t{ font-size:22px; }
    .errorWrap .detail{ font-size:12px; line-height:1.8; margin:6px 100px 0 3px; color:#636363}
    .errorWrap .btnGroup{ margin-top:60px; overflow:hidden; margin-left:3px;}
    .errorWrap .btnGroup .btn{ display:inline-block; height:34px; line-height:34px; color:#fff; text-align:center; font-size:12px;}
    .errorWrap .btnGroup .btn .iconfont{ margin-right:2px}
    .errorWrap .btnGroup .btn.home{ margin-right:10px}
</style>
<?php
    $type = $_GET["type"];
    $title = $_GET["title"];
    $detail = $_GET["detail"];
    if(empty($title)) $title = "提示";
?>
<div class="errorWrap <?=$type?>">

    <p class="title">
        <span class="icon">
            <?php if($_GET["type"]=="success"): ?>
                <i class="iconfont">&#xe63f;</i>
            <?php else: ?>
                <i class="iconfont">&#xe654;</i>
            <?php endif; ?>
        </span>
        <span class="t"><?=$title?></span></p>
    <?php if(isset($detail)): ?>
        <div class="detail"><?=$detail?></div>
    <?endif;?>

    <div class="btnGroup">
        <a class="btn home ui-btn ui-btn-orange radius" href="home.html"><i class="iconfont">&#xe6b1;</i><span class="t">返回首页</span></a>
        <a class="btn back ui-btn ui-btn-blue radius" href="javascript:window.history.back()"><span class="t">返回上一页</span></a>
    </div>

</div>
<?php include "common/page_frame/footer.html";?>
